import request from '@/utils/request';

//获取班级数
export const getClassList = () => {
  return request({
    method: 'GET',
    url: '/admin/expschedule/class/auth/getClassList',
  })
}


//添加班级
export const addClassData = (data) => {
  return request({
    method: 'POST',
    url: '/admin/expschedule/class/auth/saveClass',
    data
  })
}

//删除班级
export const deleteClassList = (id) => {
  return request({
    method: 'DELETE',
    url: `/admin/expschedule/class/auth/remove/${id}`,
  })
}